package com.sl.mes.db.vo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class BdMaterial {
    private String pkMaterial;

    private String code;

    private String creationtime;

    private String creator;

    private Integer dataoriginflag;

    private String def1;

    private String def10;

    private String def11;

    private String def12;

    private String def13;

    private String def14;

    private String def15;

    private String def16;

    private String def17;

    private String def18;

    private String def19;

    private String def2;

    private String def20;

    private String def21;

    private String def22;

    private String def23;

    private String def24;

    private String def25;

    private String def26;

    private String def27;

    private String def28;

    private String def29;

    private String def3;

    private String def30;

    private String def31;

    private String def32;

    private String def33;

    private String def34;

    private String def35;

    private String def36;

    private String def37;

    private String def38;

    private String def39;

    private String def4;

    private String def40;

    private String def41;

    private String def42;

    private String def43;

    private String def44;

    private String def45;

    private String def46;

    private String def47;

    private String def48;

    private String def49;

    private String def5;

    private String def50;

    private String def6;

    private String def7;

    private String def8;

    private String def9;

    private Integer deletestate;

    private String delperson;

    private String deltime;

    private String discountflag;

    private Integer dr;

    private String electronicsale;

    private String ematerialspec;

    private Integer enablestate;

    private String ename;

    private String featureclass;

    private String fee;

    private String goodsprtname;

    private String graphid;

    private Double intolerance;

    private String iselectrans;

    private String isfeature;

    private String ishproitems;

    private String latest;

    private Integer matchmode;

    private String materialbarcode;

    private Integer materialmgt;

    private String materialmnecode;

    private String materialshortname;

    private String materialspec;

    private String materialtype;

    private String memo;

    private String modifiedtime;

    private String modifier;

    private String name;

    private String name2;

    private String name3;

    private String name4;

    private String name5;

    private String name6;

    private Double outcloselowerlimit;

    private Double outtolerance;

    private String pkBrand;

    private String pkGoodscode;

    private String pkGroup;

    private String pkMarasstframe;

    private String pkMarbasclass;

    private String pkMaterialPf;

    private String pkMattaxes;

    private String pkMeasdoc;

    private String pkOrg;

    private String pkProdline;

    private String pkSource;

    private String pkTaxitems;

    private String prodarea;

    private String productfamily;

    private Integer prolifeperiod;

    private String retail;

    private String setpartsflag;

    private Double storeunitnum;

    private LocalDateTime ts;

    private String unitheight;

    private String unitlength;

    private Double unitvolume;

    private Double unitweight;

    private String unitwidth;

    private Integer version;

    public String getPkMaterial() {
        return pkMaterial;
    }

    public void setPkMaterial(String pkMaterial) {
        this.pkMaterial = pkMaterial;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(String creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getDataoriginflag() {
        return dataoriginflag;
    }

    public void setDataoriginflag(Integer dataoriginflag) {
        this.dataoriginflag = dataoriginflag;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1;
    }

    public String getDef10() {
        return def10;
    }

    public void setDef10(String def10) {
        this.def10 = def10;
    }

    public String getDef11() {
        return def11;
    }

    public void setDef11(String def11) {
        this.def11 = def11;
    }

    public String getDef12() {
        return def12;
    }

    public void setDef12(String def12) {
        this.def12 = def12;
    }

    public String getDef13() {
        return def13;
    }

    public void setDef13(String def13) {
        this.def13 = def13;
    }

    public String getDef14() {
        return def14;
    }

    public void setDef14(String def14) {
        this.def14 = def14;
    }

    public String getDef15() {
        return def15;
    }

    public void setDef15(String def15) {
        this.def15 = def15;
    }

    public String getDef16() {
        return def16;
    }

    public void setDef16(String def16) {
        this.def16 = def16;
    }

    public String getDef17() {
        return def17;
    }

    public void setDef17(String def17) {
        this.def17 = def17;
    }

    public String getDef18() {
        return def18;
    }

    public void setDef18(String def18) {
        this.def18 = def18;
    }

    public String getDef19() {
        return def19;
    }

    public void setDef19(String def19) {
        this.def19 = def19;
    }

    public String getDef2() {
        return def2;
    }

    public void setDef2(String def2) {
        this.def2 = def2;
    }

    public String getDef20() {
        return def20;
    }

    public void setDef20(String def20) {
        this.def20 = def20;
    }

    public String getDef21() {
        return def21;
    }

    public void setDef21(String def21) {
        this.def21 = def21;
    }

    public String getDef22() {
        return def22;
    }

    public void setDef22(String def22) {
        this.def22 = def22;
    }

    public String getDef23() {
        return def23;
    }

    public void setDef23(String def23) {
        this.def23 = def23;
    }

    public String getDef24() {
        return def24;
    }

    public void setDef24(String def24) {
        this.def24 = def24;
    }

    public String getDef25() {
        return def25;
    }

    public void setDef25(String def25) {
        this.def25 = def25;
    }

    public String getDef26() {
        return def26;
    }

    public void setDef26(String def26) {
        this.def26 = def26;
    }

    public String getDef27() {
        return def27;
    }

    public void setDef27(String def27) {
        this.def27 = def27;
    }

    public String getDef28() {
        return def28;
    }

    public void setDef28(String def28) {
        this.def28 = def28;
    }

    public String getDef29() {
        return def29;
    }

    public void setDef29(String def29) {
        this.def29 = def29;
    }

    public String getDef3() {
        return def3;
    }

    public void setDef3(String def3) {
        this.def3 = def3;
    }

    public String getDef30() {
        return def30;
    }

    public void setDef30(String def30) {
        this.def30 = def30;
    }

    public String getDef31() {
        return def31;
    }

    public void setDef31(String def31) {
        this.def31 = def31;
    }

    public String getDef32() {
        return def32;
    }

    public void setDef32(String def32) {
        this.def32 = def32;
    }

    public String getDef33() {
        return def33;
    }

    public void setDef33(String def33) {
        this.def33 = def33;
    }

    public String getDef34() {
        return def34;
    }

    public void setDef34(String def34) {
        this.def34 = def34;
    }

    public String getDef35() {
        return def35;
    }

    public void setDef35(String def35) {
        this.def35 = def35;
    }

    public String getDef36() {
        return def36;
    }

    public void setDef36(String def36) {
        this.def36 = def36;
    }

    public String getDef37() {
        return def37;
    }

    public void setDef37(String def37) {
        this.def37 = def37;
    }

    public String getDef38() {
        return def38;
    }

    public void setDef38(String def38) {
        this.def38 = def38;
    }

    public String getDef39() {
        return def39;
    }

    public void setDef39(String def39) {
        this.def39 = def39;
    }

    public String getDef4() {
        return def4;
    }

    public void setDef4(String def4) {
        this.def4 = def4;
    }

    public String getDef40() {
        return def40;
    }

    public void setDef40(String def40) {
        this.def40 = def40;
    }

    public String getDef41() {
        return def41;
    }

    public void setDef41(String def41) {
        this.def41 = def41;
    }

    public String getDef42() {
        return def42;
    }

    public void setDef42(String def42) {
        this.def42 = def42;
    }

    public String getDef43() {
        return def43;
    }

    public void setDef43(String def43) {
        this.def43 = def43;
    }

    public String getDef44() {
        return def44;
    }

    public void setDef44(String def44) {
        this.def44 = def44;
    }

    public String getDef45() {
        return def45;
    }

    public void setDef45(String def45) {
        this.def45 = def45;
    }

    public String getDef46() {
        return def46;
    }

    public void setDef46(String def46) {
        this.def46 = def46;
    }

    public String getDef47() {
        return def47;
    }

    public void setDef47(String def47) {
        this.def47 = def47;
    }

    public String getDef48() {
        return def48;
    }

    public void setDef48(String def48) {
        this.def48 = def48;
    }

    public String getDef49() {
        return def49;
    }

    public void setDef49(String def49) {
        this.def49 = def49;
    }

    public String getDef5() {
        return def5;
    }

    public void setDef5(String def5) {
        this.def5 = def5;
    }

    public String getDef50() {
        return def50;
    }

    public void setDef50(String def50) {
        this.def50 = def50;
    }

    public String getDef6() {
        return def6;
    }

    public void setDef6(String def6) {
        this.def6 = def6;
    }

    public String getDef7() {
        return def7;
    }

    public void setDef7(String def7) {
        this.def7 = def7;
    }

    public String getDef8() {
        return def8;
    }

    public void setDef8(String def8) {
        this.def8 = def8;
    }

    public String getDef9() {
        return def9;
    }

    public void setDef9(String def9) {
        this.def9 = def9;
    }

    public Integer getDeletestate() {
        return deletestate;
    }

    public void setDeletestate(Integer deletestate) {
        this.deletestate = deletestate;
    }

    public String getDelperson() {
        return delperson;
    }

    public void setDelperson(String delperson) {
        this.delperson = delperson;
    }

    public String getDeltime() {
        return deltime;
    }

    public void setDeltime(String deltime) {
        this.deltime = deltime;
    }

    public String getDiscountflag() {
        return discountflag;
    }

    public void setDiscountflag(String discountflag) {
        this.discountflag = discountflag;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getElectronicsale() {
        return electronicsale;
    }

    public void setElectronicsale(String electronicsale) {
        this.electronicsale = electronicsale;
    }

    public String getEmaterialspec() {
        return ematerialspec;
    }

    public void setEmaterialspec(String ematerialspec) {
        this.ematerialspec = ematerialspec;
    }

    public Integer getEnablestate() {
        return enablestate;
    }

    public void setEnablestate(Integer enablestate) {
        this.enablestate = enablestate;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getFeatureclass() {
        return featureclass;
    }

    public void setFeatureclass(String featureclass) {
        this.featureclass = featureclass;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getGoodsprtname() {
        return goodsprtname;
    }

    public void setGoodsprtname(String goodsprtname) {
        this.goodsprtname = goodsprtname;
    }

    public String getGraphid() {
        return graphid;
    }

    public void setGraphid(String graphid) {
        this.graphid = graphid;
    }

    public Double getIntolerance() {
        return intolerance;
    }

    public void setIntolerance(Double intolerance) {
        this.intolerance = intolerance;
    }

    public String getIselectrans() {
        return iselectrans;
    }

    public void setIselectrans(String iselectrans) {
        this.iselectrans = iselectrans;
    }

    public String getIsfeature() {
        return isfeature;
    }

    public void setIsfeature(String isfeature) {
        this.isfeature = isfeature;
    }

    public String getIshproitems() {
        return ishproitems;
    }

    public void setIshproitems(String ishproitems) {
        this.ishproitems = ishproitems;
    }

    public String getLatest() {
        return latest;
    }

    public void setLatest(String latest) {
        this.latest = latest;
    }

    public Integer getMatchmode() {
        return matchmode;
    }

    public void setMatchmode(Integer matchmode) {
        this.matchmode = matchmode;
    }

    public String getMaterialbarcode() {
        return materialbarcode;
    }

    public void setMaterialbarcode(String materialbarcode) {
        this.materialbarcode = materialbarcode;
    }

    public Integer getMaterialmgt() {
        return materialmgt;
    }

    public void setMaterialmgt(Integer materialmgt) {
        this.materialmgt = materialmgt;
    }

    public String getMaterialmnecode() {
        return materialmnecode;
    }

    public void setMaterialmnecode(String materialmnecode) {
        this.materialmnecode = materialmnecode;
    }

    public String getMaterialshortname() {
        return materialshortname;
    }

    public void setMaterialshortname(String materialshortname) {
        this.materialshortname = materialshortname;
    }

    public String getMaterialspec() {
        return materialspec;
    }

    public void setMaterialspec(String materialspec) {
        this.materialspec = materialspec;
    }

    public String getMaterialtype() {
        return materialtype;
    }

    public void setMaterialtype(String materialtype) {
        this.materialtype = materialtype;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getModifiedtime() {
        return modifiedtime;
    }

    public void setModifiedtime(String modifiedtime) {
        this.modifiedtime = modifiedtime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public String getName3() {
        return name3;
    }

    public void setName3(String name3) {
        this.name3 = name3;
    }

    public String getName4() {
        return name4;
    }

    public void setName4(String name4) {
        this.name4 = name4;
    }

    public String getName5() {
        return name5;
    }

    public void setName5(String name5) {
        this.name5 = name5;
    }

    public String getName6() {
        return name6;
    }

    public void setName6(String name6) {
        this.name6 = name6;
    }

    public Double getOutcloselowerlimit() {
        return outcloselowerlimit;
    }

    public void setOutcloselowerlimit(Double outcloselowerlimit) {
        this.outcloselowerlimit = outcloselowerlimit;
    }

    public Double getOuttolerance() {
        return outtolerance;
    }

    public void setOuttolerance(Double outtolerance) {
        this.outtolerance = outtolerance;
    }

    public String getPkBrand() {
        return pkBrand;
    }

    public void setPkBrand(String pkBrand) {
        this.pkBrand = pkBrand;
    }

    public String getPkGoodscode() {
        return pkGoodscode;
    }

    public void setPkGoodscode(String pkGoodscode) {
        this.pkGoodscode = pkGoodscode;
    }

    public String getPkGroup() {
        return pkGroup;
    }

    public void setPkGroup(String pkGroup) {
        this.pkGroup = pkGroup;
    }

    public String getPkMarasstframe() {
        return pkMarasstframe;
    }

    public void setPkMarasstframe(String pkMarasstframe) {
        this.pkMarasstframe = pkMarasstframe;
    }

    public String getPkMarbasclass() {
        return pkMarbasclass;
    }

    public void setPkMarbasclass(String pkMarbasclass) {
        this.pkMarbasclass = pkMarbasclass;
    }

    public String getPkMaterialPf() {
        return pkMaterialPf;
    }

    public void setPkMaterialPf(String pkMaterialPf) {
        this.pkMaterialPf = pkMaterialPf;
    }

    public String getPkMattaxes() {
        return pkMattaxes;
    }

    public void setPkMattaxes(String pkMattaxes) {
        this.pkMattaxes = pkMattaxes;
    }

    public String getPkMeasdoc() {
        return pkMeasdoc;
    }

    public void setPkMeasdoc(String pkMeasdoc) {
        this.pkMeasdoc = pkMeasdoc;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public String getPkProdline() {
        return pkProdline;
    }

    public void setPkProdline(String pkProdline) {
        this.pkProdline = pkProdline;
    }

    public String getPkSource() {
        return pkSource;
    }

    public void setPkSource(String pkSource) {
        this.pkSource = pkSource;
    }

    public String getPkTaxitems() {
        return pkTaxitems;
    }

    public void setPkTaxitems(String pkTaxitems) {
        this.pkTaxitems = pkTaxitems;
    }

    public String getProdarea() {
        return prodarea;
    }

    public void setProdarea(String prodarea) {
        this.prodarea = prodarea;
    }

    public String getProductfamily() {
        return productfamily;
    }

    public void setProductfamily(String productfamily) {
        this.productfamily = productfamily;
    }

    public Integer getProlifeperiod() {
        return prolifeperiod;
    }

    public void setProlifeperiod(Integer prolifeperiod) {
        this.prolifeperiod = prolifeperiod;
    }

    public String getRetail() {
        return retail;
    }

    public void setRetail(String retail) {
        this.retail = retail;
    }

    public String getSetpartsflag() {
        return setpartsflag;
    }

    public void setSetpartsflag(String setpartsflag) {
        this.setpartsflag = setpartsflag;
    }

    public Double getStoreunitnum() {
        return storeunitnum;
    }

    public void setStoreunitnum(Double storeunitnum) {
        this.storeunitnum = storeunitnum;
    }

    public LocalDateTime getTs() {
        return ts;
    }

    public void setTs(LocalDateTime ts) {
        this.ts = ts;
    }

    public String getUnitheight() {
        return unitheight;
    }

    public void setUnitheight(String unitheight) {
        this.unitheight = unitheight;
    }

    public String getUnitlength() {
        return unitlength;
    }

    public void setUnitlength(String unitlength) {
        this.unitlength = unitlength;
    }

    public Double getUnitvolume() {
        return unitvolume;
    }

    public void setUnitvolume(Double unitvolume) {
        this.unitvolume = unitvolume;
    }

    public Double getUnitweight() {
        return unitweight;
    }

    public void setUnitweight(Double unitweight) {
        this.unitweight = unitweight;
    }

    public String getUnitwidth() {
        return unitwidth;
    }

    public void setUnitwidth(String unitwidth) {
        this.unitwidth = unitwidth;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pkMaterial=").append(pkMaterial);
        sb.append(", code=").append(code);
        sb.append(", creationtime=").append(creationtime);
        sb.append(", creator=").append(creator);
        sb.append(", dataoriginflag=").append(dataoriginflag);
        sb.append(", def1=").append(def1);
        sb.append(", def10=").append(def10);
        sb.append(", def11=").append(def11);
        sb.append(", def12=").append(def12);
        sb.append(", def13=").append(def13);
        sb.append(", def14=").append(def14);
        sb.append(", def15=").append(def15);
        sb.append(", def16=").append(def16);
        sb.append(", def17=").append(def17);
        sb.append(", def18=").append(def18);
        sb.append(", def19=").append(def19);
        sb.append(", def2=").append(def2);
        sb.append(", def20=").append(def20);
        sb.append(", def21=").append(def21);
        sb.append(", def22=").append(def22);
        sb.append(", def23=").append(def23);
        sb.append(", def24=").append(def24);
        sb.append(", def25=").append(def25);
        sb.append(", def26=").append(def26);
        sb.append(", def27=").append(def27);
        sb.append(", def28=").append(def28);
        sb.append(", def29=").append(def29);
        sb.append(", def3=").append(def3);
        sb.append(", def30=").append(def30);
        sb.append(", def31=").append(def31);
        sb.append(", def32=").append(def32);
        sb.append(", def33=").append(def33);
        sb.append(", def34=").append(def34);
        sb.append(", def35=").append(def35);
        sb.append(", def36=").append(def36);
        sb.append(", def37=").append(def37);
        sb.append(", def38=").append(def38);
        sb.append(", def39=").append(def39);
        sb.append(", def4=").append(def4);
        sb.append(", def40=").append(def40);
        sb.append(", def41=").append(def41);
        sb.append(", def42=").append(def42);
        sb.append(", def43=").append(def43);
        sb.append(", def44=").append(def44);
        sb.append(", def45=").append(def45);
        sb.append(", def46=").append(def46);
        sb.append(", def47=").append(def47);
        sb.append(", def48=").append(def48);
        sb.append(", def49=").append(def49);
        sb.append(", def5=").append(def5);
        sb.append(", def50=").append(def50);
        sb.append(", def6=").append(def6);
        sb.append(", def7=").append(def7);
        sb.append(", def8=").append(def8);
        sb.append(", def9=").append(def9);
        sb.append(", deletestate=").append(deletestate);
        sb.append(", delperson=").append(delperson);
        sb.append(", deltime=").append(deltime);
        sb.append(", discountflag=").append(discountflag);
        sb.append(", dr=").append(dr);
        sb.append(", electronicsale=").append(electronicsale);
        sb.append(", ematerialspec=").append(ematerialspec);
        sb.append(", enablestate=").append(enablestate);
        sb.append(", ename=").append(ename);
        sb.append(", featureclass=").append(featureclass);
        sb.append(", fee=").append(fee);
        sb.append(", goodsprtname=").append(goodsprtname);
        sb.append(", graphid=").append(graphid);
        sb.append(", intolerance=").append(intolerance);
        sb.append(", iselectrans=").append(iselectrans);
        sb.append(", isfeature=").append(isfeature);
        sb.append(", ishproitems=").append(ishproitems);
        sb.append(", latest=").append(latest);
        sb.append(", matchmode=").append(matchmode);
        sb.append(", materialbarcode=").append(materialbarcode);
        sb.append(", materialmgt=").append(materialmgt);
        sb.append(", materialmnecode=").append(materialmnecode);
        sb.append(", materialshortname=").append(materialshortname);
        sb.append(", materialspec=").append(materialspec);
        sb.append(", materialtype=").append(materialtype);
        sb.append(", memo=").append(memo);
        sb.append(", modifiedtime=").append(modifiedtime);
        sb.append(", modifier=").append(modifier);
        sb.append(", name=").append(name);
        sb.append(", name2=").append(name2);
        sb.append(", name3=").append(name3);
        sb.append(", name4=").append(name4);
        sb.append(", name5=").append(name5);
        sb.append(", name6=").append(name6);
        sb.append(", outcloselowerlimit=").append(outcloselowerlimit);
        sb.append(", outtolerance=").append(outtolerance);
        sb.append(", pkBrand=").append(pkBrand);
        sb.append(", pkGoodscode=").append(pkGoodscode);
        sb.append(", pkGroup=").append(pkGroup);
        sb.append(", pkMarasstframe=").append(pkMarasstframe);
        sb.append(", pkMarbasclass=").append(pkMarbasclass);
        sb.append(", pkMaterialPf=").append(pkMaterialPf);
        sb.append(", pkMattaxes=").append(pkMattaxes);
        sb.append(", pkMeasdoc=").append(pkMeasdoc);
        sb.append(", pkOrg=").append(pkOrg);
        sb.append(", pkProdline=").append(pkProdline);
        sb.append(", pkSource=").append(pkSource);
        sb.append(", pkTaxitems=").append(pkTaxitems);
        sb.append(", prodarea=").append(prodarea);
        sb.append(", productfamily=").append(productfamily);
        sb.append(", prolifeperiod=").append(prolifeperiod);
        sb.append(", retail=").append(retail);
        sb.append(", setpartsflag=").append(setpartsflag);
        sb.append(", storeunitnum=").append(storeunitnum);
        sb.append(", ts=").append(ts);
        sb.append(", unitheight=").append(unitheight);
        sb.append(", unitlength=").append(unitlength);
        sb.append(", unitvolume=").append(unitvolume);
        sb.append(", unitweight=").append(unitweight);
        sb.append(", unitwidth=").append(unitwidth);
        sb.append(", version=").append(version);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BdMaterial other = (BdMaterial) that;
        return (this.getPkMaterial() == null ? other.getPkMaterial() == null : this.getPkMaterial().equals(other.getPkMaterial()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getCreationtime() == null ? other.getCreationtime() == null : this.getCreationtime().equals(other.getCreationtime()))
            && (this.getCreator() == null ? other.getCreator() == null : this.getCreator().equals(other.getCreator()))
            && (this.getDataoriginflag() == null ? other.getDataoriginflag() == null : this.getDataoriginflag().equals(other.getDataoriginflag()))
            && (this.getDef1() == null ? other.getDef1() == null : this.getDef1().equals(other.getDef1()))
            && (this.getDef10() == null ? other.getDef10() == null : this.getDef10().equals(other.getDef10()))
            && (this.getDef11() == null ? other.getDef11() == null : this.getDef11().equals(other.getDef11()))
            && (this.getDef12() == null ? other.getDef12() == null : this.getDef12().equals(other.getDef12()))
            && (this.getDef13() == null ? other.getDef13() == null : this.getDef13().equals(other.getDef13()))
            && (this.getDef14() == null ? other.getDef14() == null : this.getDef14().equals(other.getDef14()))
            && (this.getDef15() == null ? other.getDef15() == null : this.getDef15().equals(other.getDef15()))
            && (this.getDef16() == null ? other.getDef16() == null : this.getDef16().equals(other.getDef16()))
            && (this.getDef17() == null ? other.getDef17() == null : this.getDef17().equals(other.getDef17()))
            && (this.getDef18() == null ? other.getDef18() == null : this.getDef18().equals(other.getDef18()))
            && (this.getDef19() == null ? other.getDef19() == null : this.getDef19().equals(other.getDef19()))
            && (this.getDef2() == null ? other.getDef2() == null : this.getDef2().equals(other.getDef2()))
            && (this.getDef20() == null ? other.getDef20() == null : this.getDef20().equals(other.getDef20()))
            && (this.getDef21() == null ? other.getDef21() == null : this.getDef21().equals(other.getDef21()))
            && (this.getDef22() == null ? other.getDef22() == null : this.getDef22().equals(other.getDef22()))
            && (this.getDef23() == null ? other.getDef23() == null : this.getDef23().equals(other.getDef23()))
            && (this.getDef24() == null ? other.getDef24() == null : this.getDef24().equals(other.getDef24()))
            && (this.getDef25() == null ? other.getDef25() == null : this.getDef25().equals(other.getDef25()))
            && (this.getDef26() == null ? other.getDef26() == null : this.getDef26().equals(other.getDef26()))
            && (this.getDef27() == null ? other.getDef27() == null : this.getDef27().equals(other.getDef27()))
            && (this.getDef28() == null ? other.getDef28() == null : this.getDef28().equals(other.getDef28()))
            && (this.getDef29() == null ? other.getDef29() == null : this.getDef29().equals(other.getDef29()))
            && (this.getDef3() == null ? other.getDef3() == null : this.getDef3().equals(other.getDef3()))
            && (this.getDef30() == null ? other.getDef30() == null : this.getDef30().equals(other.getDef30()))
            && (this.getDef31() == null ? other.getDef31() == null : this.getDef31().equals(other.getDef31()))
            && (this.getDef32() == null ? other.getDef32() == null : this.getDef32().equals(other.getDef32()))
            && (this.getDef33() == null ? other.getDef33() == null : this.getDef33().equals(other.getDef33()))
            && (this.getDef34() == null ? other.getDef34() == null : this.getDef34().equals(other.getDef34()))
            && (this.getDef35() == null ? other.getDef35() == null : this.getDef35().equals(other.getDef35()))
            && (this.getDef36() == null ? other.getDef36() == null : this.getDef36().equals(other.getDef36()))
            && (this.getDef37() == null ? other.getDef37() == null : this.getDef37().equals(other.getDef37()))
            && (this.getDef38() == null ? other.getDef38() == null : this.getDef38().equals(other.getDef38()))
            && (this.getDef39() == null ? other.getDef39() == null : this.getDef39().equals(other.getDef39()))
            && (this.getDef4() == null ? other.getDef4() == null : this.getDef4().equals(other.getDef4()))
            && (this.getDef40() == null ? other.getDef40() == null : this.getDef40().equals(other.getDef40()))
            && (this.getDef41() == null ? other.getDef41() == null : this.getDef41().equals(other.getDef41()))
            && (this.getDef42() == null ? other.getDef42() == null : this.getDef42().equals(other.getDef42()))
            && (this.getDef43() == null ? other.getDef43() == null : this.getDef43().equals(other.getDef43()))
            && (this.getDef44() == null ? other.getDef44() == null : this.getDef44().equals(other.getDef44()))
            && (this.getDef45() == null ? other.getDef45() == null : this.getDef45().equals(other.getDef45()))
            && (this.getDef46() == null ? other.getDef46() == null : this.getDef46().equals(other.getDef46()))
            && (this.getDef47() == null ? other.getDef47() == null : this.getDef47().equals(other.getDef47()))
            && (this.getDef48() == null ? other.getDef48() == null : this.getDef48().equals(other.getDef48()))
            && (this.getDef49() == null ? other.getDef49() == null : this.getDef49().equals(other.getDef49()))
            && (this.getDef5() == null ? other.getDef5() == null : this.getDef5().equals(other.getDef5()))
            && (this.getDef50() == null ? other.getDef50() == null : this.getDef50().equals(other.getDef50()))
            && (this.getDef6() == null ? other.getDef6() == null : this.getDef6().equals(other.getDef6()))
            && (this.getDef7() == null ? other.getDef7() == null : this.getDef7().equals(other.getDef7()))
            && (this.getDef8() == null ? other.getDef8() == null : this.getDef8().equals(other.getDef8()))
            && (this.getDef9() == null ? other.getDef9() == null : this.getDef9().equals(other.getDef9()))
            && (this.getDeletestate() == null ? other.getDeletestate() == null : this.getDeletestate().equals(other.getDeletestate()))
            && (this.getDelperson() == null ? other.getDelperson() == null : this.getDelperson().equals(other.getDelperson()))
            && (this.getDeltime() == null ? other.getDeltime() == null : this.getDeltime().equals(other.getDeltime()))
            && (this.getDiscountflag() == null ? other.getDiscountflag() == null : this.getDiscountflag().equals(other.getDiscountflag()))
            && (this.getDr() == null ? other.getDr() == null : this.getDr().equals(other.getDr()))
            && (this.getElectronicsale() == null ? other.getElectronicsale() == null : this.getElectronicsale().equals(other.getElectronicsale()))
            && (this.getEmaterialspec() == null ? other.getEmaterialspec() == null : this.getEmaterialspec().equals(other.getEmaterialspec()))
            && (this.getEnablestate() == null ? other.getEnablestate() == null : this.getEnablestate().equals(other.getEnablestate()))
            && (this.getEname() == null ? other.getEname() == null : this.getEname().equals(other.getEname()))
            && (this.getFeatureclass() == null ? other.getFeatureclass() == null : this.getFeatureclass().equals(other.getFeatureclass()))
            && (this.getFee() == null ? other.getFee() == null : this.getFee().equals(other.getFee()))
            && (this.getGoodsprtname() == null ? other.getGoodsprtname() == null : this.getGoodsprtname().equals(other.getGoodsprtname()))
            && (this.getGraphid() == null ? other.getGraphid() == null : this.getGraphid().equals(other.getGraphid()))
            && (this.getIntolerance() == null ? other.getIntolerance() == null : this.getIntolerance().equals(other.getIntolerance()))
            && (this.getIselectrans() == null ? other.getIselectrans() == null : this.getIselectrans().equals(other.getIselectrans()))
            && (this.getIsfeature() == null ? other.getIsfeature() == null : this.getIsfeature().equals(other.getIsfeature()))
            && (this.getIshproitems() == null ? other.getIshproitems() == null : this.getIshproitems().equals(other.getIshproitems()))
            && (this.getLatest() == null ? other.getLatest() == null : this.getLatest().equals(other.getLatest()))
            && (this.getMatchmode() == null ? other.getMatchmode() == null : this.getMatchmode().equals(other.getMatchmode()))
            && (this.getMaterialbarcode() == null ? other.getMaterialbarcode() == null : this.getMaterialbarcode().equals(other.getMaterialbarcode()))
            && (this.getMaterialmgt() == null ? other.getMaterialmgt() == null : this.getMaterialmgt().equals(other.getMaterialmgt()))
            && (this.getMaterialmnecode() == null ? other.getMaterialmnecode() == null : this.getMaterialmnecode().equals(other.getMaterialmnecode()))
            && (this.getMaterialshortname() == null ? other.getMaterialshortname() == null : this.getMaterialshortname().equals(other.getMaterialshortname()))
            && (this.getMaterialspec() == null ? other.getMaterialspec() == null : this.getMaterialspec().equals(other.getMaterialspec()))
            && (this.getMaterialtype() == null ? other.getMaterialtype() == null : this.getMaterialtype().equals(other.getMaterialtype()))
            && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
            && (this.getModifiedtime() == null ? other.getModifiedtime() == null : this.getModifiedtime().equals(other.getModifiedtime()))
            && (this.getModifier() == null ? other.getModifier() == null : this.getModifier().equals(other.getModifier()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getName2() == null ? other.getName2() == null : this.getName2().equals(other.getName2()))
            && (this.getName3() == null ? other.getName3() == null : this.getName3().equals(other.getName3()))
            && (this.getName4() == null ? other.getName4() == null : this.getName4().equals(other.getName4()))
            && (this.getName5() == null ? other.getName5() == null : this.getName5().equals(other.getName5()))
            && (this.getName6() == null ? other.getName6() == null : this.getName6().equals(other.getName6()))
            && (this.getOutcloselowerlimit() == null ? other.getOutcloselowerlimit() == null : this.getOutcloselowerlimit().equals(other.getOutcloselowerlimit()))
            && (this.getOuttolerance() == null ? other.getOuttolerance() == null : this.getOuttolerance().equals(other.getOuttolerance()))
            && (this.getPkBrand() == null ? other.getPkBrand() == null : this.getPkBrand().equals(other.getPkBrand()))
            && (this.getPkGoodscode() == null ? other.getPkGoodscode() == null : this.getPkGoodscode().equals(other.getPkGoodscode()))
            && (this.getPkGroup() == null ? other.getPkGroup() == null : this.getPkGroup().equals(other.getPkGroup()))
            && (this.getPkMarasstframe() == null ? other.getPkMarasstframe() == null : this.getPkMarasstframe().equals(other.getPkMarasstframe()))
            && (this.getPkMarbasclass() == null ? other.getPkMarbasclass() == null : this.getPkMarbasclass().equals(other.getPkMarbasclass()))
            && (this.getPkMaterialPf() == null ? other.getPkMaterialPf() == null : this.getPkMaterialPf().equals(other.getPkMaterialPf()))
            && (this.getPkMattaxes() == null ? other.getPkMattaxes() == null : this.getPkMattaxes().equals(other.getPkMattaxes()))
            && (this.getPkMeasdoc() == null ? other.getPkMeasdoc() == null : this.getPkMeasdoc().equals(other.getPkMeasdoc()))
            && (this.getPkOrg() == null ? other.getPkOrg() == null : this.getPkOrg().equals(other.getPkOrg()))
            && (this.getPkProdline() == null ? other.getPkProdline() == null : this.getPkProdline().equals(other.getPkProdline()))
            && (this.getPkSource() == null ? other.getPkSource() == null : this.getPkSource().equals(other.getPkSource()))
            && (this.getPkTaxitems() == null ? other.getPkTaxitems() == null : this.getPkTaxitems().equals(other.getPkTaxitems()))
            && (this.getProdarea() == null ? other.getProdarea() == null : this.getProdarea().equals(other.getProdarea()))
            && (this.getProductfamily() == null ? other.getProductfamily() == null : this.getProductfamily().equals(other.getProductfamily()))
            && (this.getProlifeperiod() == null ? other.getProlifeperiod() == null : this.getProlifeperiod().equals(other.getProlifeperiod()))
            && (this.getRetail() == null ? other.getRetail() == null : this.getRetail().equals(other.getRetail()))
            && (this.getSetpartsflag() == null ? other.getSetpartsflag() == null : this.getSetpartsflag().equals(other.getSetpartsflag()))
            && (this.getStoreunitnum() == null ? other.getStoreunitnum() == null : this.getStoreunitnum().equals(other.getStoreunitnum()))
            && (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs()))
            && (this.getUnitheight() == null ? other.getUnitheight() == null : this.getUnitheight().equals(other.getUnitheight()))
            && (this.getUnitlength() == null ? other.getUnitlength() == null : this.getUnitlength().equals(other.getUnitlength()))
            && (this.getUnitvolume() == null ? other.getUnitvolume() == null : this.getUnitvolume().equals(other.getUnitvolume()))
            && (this.getUnitweight() == null ? other.getUnitweight() == null : this.getUnitweight().equals(other.getUnitweight()))
            && (this.getUnitwidth() == null ? other.getUnitwidth() == null : this.getUnitwidth().equals(other.getUnitwidth()))
            && (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPkMaterial() == null) ? 0 : getPkMaterial().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getCreationtime() == null) ? 0 : getCreationtime().hashCode());
        result = prime * result + ((getCreator() == null) ? 0 : getCreator().hashCode());
        result = prime * result + ((getDataoriginflag() == null) ? 0 : getDataoriginflag().hashCode());
        result = prime * result + ((getDef1() == null) ? 0 : getDef1().hashCode());
        result = prime * result + ((getDef10() == null) ? 0 : getDef10().hashCode());
        result = prime * result + ((getDef11() == null) ? 0 : getDef11().hashCode());
        result = prime * result + ((getDef12() == null) ? 0 : getDef12().hashCode());
        result = prime * result + ((getDef13() == null) ? 0 : getDef13().hashCode());
        result = prime * result + ((getDef14() == null) ? 0 : getDef14().hashCode());
        result = prime * result + ((getDef15() == null) ? 0 : getDef15().hashCode());
        result = prime * result + ((getDef16() == null) ? 0 : getDef16().hashCode());
        result = prime * result + ((getDef17() == null) ? 0 : getDef17().hashCode());
        result = prime * result + ((getDef18() == null) ? 0 : getDef18().hashCode());
        result = prime * result + ((getDef19() == null) ? 0 : getDef19().hashCode());
        result = prime * result + ((getDef2() == null) ? 0 : getDef2().hashCode());
        result = prime * result + ((getDef20() == null) ? 0 : getDef20().hashCode());
        result = prime * result + ((getDef21() == null) ? 0 : getDef21().hashCode());
        result = prime * result + ((getDef22() == null) ? 0 : getDef22().hashCode());
        result = prime * result + ((getDef23() == null) ? 0 : getDef23().hashCode());
        result = prime * result + ((getDef24() == null) ? 0 : getDef24().hashCode());
        result = prime * result + ((getDef25() == null) ? 0 : getDef25().hashCode());
        result = prime * result + ((getDef26() == null) ? 0 : getDef26().hashCode());
        result = prime * result + ((getDef27() == null) ? 0 : getDef27().hashCode());
        result = prime * result + ((getDef28() == null) ? 0 : getDef28().hashCode());
        result = prime * result + ((getDef29() == null) ? 0 : getDef29().hashCode());
        result = prime * result + ((getDef3() == null) ? 0 : getDef3().hashCode());
        result = prime * result + ((getDef30() == null) ? 0 : getDef30().hashCode());
        result = prime * result + ((getDef31() == null) ? 0 : getDef31().hashCode());
        result = prime * result + ((getDef32() == null) ? 0 : getDef32().hashCode());
        result = prime * result + ((getDef33() == null) ? 0 : getDef33().hashCode());
        result = prime * result + ((getDef34() == null) ? 0 : getDef34().hashCode());
        result = prime * result + ((getDef35() == null) ? 0 : getDef35().hashCode());
        result = prime * result + ((getDef36() == null) ? 0 : getDef36().hashCode());
        result = prime * result + ((getDef37() == null) ? 0 : getDef37().hashCode());
        result = prime * result + ((getDef38() == null) ? 0 : getDef38().hashCode());
        result = prime * result + ((getDef39() == null) ? 0 : getDef39().hashCode());
        result = prime * result + ((getDef4() == null) ? 0 : getDef4().hashCode());
        result = prime * result + ((getDef40() == null) ? 0 : getDef40().hashCode());
        result = prime * result + ((getDef41() == null) ? 0 : getDef41().hashCode());
        result = prime * result + ((getDef42() == null) ? 0 : getDef42().hashCode());
        result = prime * result + ((getDef43() == null) ? 0 : getDef43().hashCode());
        result = prime * result + ((getDef44() == null) ? 0 : getDef44().hashCode());
        result = prime * result + ((getDef45() == null) ? 0 : getDef45().hashCode());
        result = prime * result + ((getDef46() == null) ? 0 : getDef46().hashCode());
        result = prime * result + ((getDef47() == null) ? 0 : getDef47().hashCode());
        result = prime * result + ((getDef48() == null) ? 0 : getDef48().hashCode());
        result = prime * result + ((getDef49() == null) ? 0 : getDef49().hashCode());
        result = prime * result + ((getDef5() == null) ? 0 : getDef5().hashCode());
        result = prime * result + ((getDef50() == null) ? 0 : getDef50().hashCode());
        result = prime * result + ((getDef6() == null) ? 0 : getDef6().hashCode());
        result = prime * result + ((getDef7() == null) ? 0 : getDef7().hashCode());
        result = prime * result + ((getDef8() == null) ? 0 : getDef8().hashCode());
        result = prime * result + ((getDef9() == null) ? 0 : getDef9().hashCode());
        result = prime * result + ((getDeletestate() == null) ? 0 : getDeletestate().hashCode());
        result = prime * result + ((getDelperson() == null) ? 0 : getDelperson().hashCode());
        result = prime * result + ((getDeltime() == null) ? 0 : getDeltime().hashCode());
        result = prime * result + ((getDiscountflag() == null) ? 0 : getDiscountflag().hashCode());
        result = prime * result + ((getDr() == null) ? 0 : getDr().hashCode());
        result = prime * result + ((getElectronicsale() == null) ? 0 : getElectronicsale().hashCode());
        result = prime * result + ((getEmaterialspec() == null) ? 0 : getEmaterialspec().hashCode());
        result = prime * result + ((getEnablestate() == null) ? 0 : getEnablestate().hashCode());
        result = prime * result + ((getEname() == null) ? 0 : getEname().hashCode());
        result = prime * result + ((getFeatureclass() == null) ? 0 : getFeatureclass().hashCode());
        result = prime * result + ((getFee() == null) ? 0 : getFee().hashCode());
        result = prime * result + ((getGoodsprtname() == null) ? 0 : getGoodsprtname().hashCode());
        result = prime * result + ((getGraphid() == null) ? 0 : getGraphid().hashCode());
        result = prime * result + ((getIntolerance() == null) ? 0 : getIntolerance().hashCode());
        result = prime * result + ((getIselectrans() == null) ? 0 : getIselectrans().hashCode());
        result = prime * result + ((getIsfeature() == null) ? 0 : getIsfeature().hashCode());
        result = prime * result + ((getIshproitems() == null) ? 0 : getIshproitems().hashCode());
        result = prime * result + ((getLatest() == null) ? 0 : getLatest().hashCode());
        result = prime * result + ((getMatchmode() == null) ? 0 : getMatchmode().hashCode());
        result = prime * result + ((getMaterialbarcode() == null) ? 0 : getMaterialbarcode().hashCode());
        result = prime * result + ((getMaterialmgt() == null) ? 0 : getMaterialmgt().hashCode());
        result = prime * result + ((getMaterialmnecode() == null) ? 0 : getMaterialmnecode().hashCode());
        result = prime * result + ((getMaterialshortname() == null) ? 0 : getMaterialshortname().hashCode());
        result = prime * result + ((getMaterialspec() == null) ? 0 : getMaterialspec().hashCode());
        result = prime * result + ((getMaterialtype() == null) ? 0 : getMaterialtype().hashCode());
        result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
        result = prime * result + ((getModifiedtime() == null) ? 0 : getModifiedtime().hashCode());
        result = prime * result + ((getModifier() == null) ? 0 : getModifier().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getName2() == null) ? 0 : getName2().hashCode());
        result = prime * result + ((getName3() == null) ? 0 : getName3().hashCode());
        result = prime * result + ((getName4() == null) ? 0 : getName4().hashCode());
        result = prime * result + ((getName5() == null) ? 0 : getName5().hashCode());
        result = prime * result + ((getName6() == null) ? 0 : getName6().hashCode());
        result = prime * result + ((getOutcloselowerlimit() == null) ? 0 : getOutcloselowerlimit().hashCode());
        result = prime * result + ((getOuttolerance() == null) ? 0 : getOuttolerance().hashCode());
        result = prime * result + ((getPkBrand() == null) ? 0 : getPkBrand().hashCode());
        result = prime * result + ((getPkGoodscode() == null) ? 0 : getPkGoodscode().hashCode());
        result = prime * result + ((getPkGroup() == null) ? 0 : getPkGroup().hashCode());
        result = prime * result + ((getPkMarasstframe() == null) ? 0 : getPkMarasstframe().hashCode());
        result = prime * result + ((getPkMarbasclass() == null) ? 0 : getPkMarbasclass().hashCode());
        result = prime * result + ((getPkMaterialPf() == null) ? 0 : getPkMaterialPf().hashCode());
        result = prime * result + ((getPkMattaxes() == null) ? 0 : getPkMattaxes().hashCode());
        result = prime * result + ((getPkMeasdoc() == null) ? 0 : getPkMeasdoc().hashCode());
        result = prime * result + ((getPkOrg() == null) ? 0 : getPkOrg().hashCode());
        result = prime * result + ((getPkProdline() == null) ? 0 : getPkProdline().hashCode());
        result = prime * result + ((getPkSource() == null) ? 0 : getPkSource().hashCode());
        result = prime * result + ((getPkTaxitems() == null) ? 0 : getPkTaxitems().hashCode());
        result = prime * result + ((getProdarea() == null) ? 0 : getProdarea().hashCode());
        result = prime * result + ((getProductfamily() == null) ? 0 : getProductfamily().hashCode());
        result = prime * result + ((getProlifeperiod() == null) ? 0 : getProlifeperiod().hashCode());
        result = prime * result + ((getRetail() == null) ? 0 : getRetail().hashCode());
        result = prime * result + ((getSetpartsflag() == null) ? 0 : getSetpartsflag().hashCode());
        result = prime * result + ((getStoreunitnum() == null) ? 0 : getStoreunitnum().hashCode());
        result = prime * result + ((getTs() == null) ? 0 : getTs().hashCode());
        result = prime * result + ((getUnitheight() == null) ? 0 : getUnitheight().hashCode());
        result = prime * result + ((getUnitlength() == null) ? 0 : getUnitlength().hashCode());
        result = prime * result + ((getUnitvolume() == null) ? 0 : getUnitvolume().hashCode());
        result = prime * result + ((getUnitweight() == null) ? 0 : getUnitweight().hashCode());
        result = prime * result + ((getUnitwidth() == null) ? 0 : getUnitwidth().hashCode());
        result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table bd_material
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public enum Column {
        pkMaterial("pk_material", "pkMaterial", "CHAR", false),
        code("code", "code", "VARCHAR", false),
        creationtime("creationtime", "creationtime", "CHAR", false),
        creator("creator", "creator", "VARCHAR", false),
        dataoriginflag("dataoriginflag", "dataoriginflag", "INTEGER", false),
        def1("def1", "def1", "VARCHAR", false),
        def10("def10", "def10", "VARCHAR", false),
        def11("def11", "def11", "VARCHAR", false),
        def12("def12", "def12", "VARCHAR", false),
        def13("def13", "def13", "VARCHAR", false),
        def14("def14", "def14", "VARCHAR", false),
        def15("def15", "def15", "VARCHAR", false),
        def16("def16", "def16", "VARCHAR", false),
        def17("def17", "def17", "VARCHAR", false),
        def18("def18", "def18", "VARCHAR", false),
        def19("def19", "def19", "VARCHAR", false),
        def2("def2", "def2", "VARCHAR", false),
        def20("def20", "def20", "VARCHAR", false),
        def21("def21", "def21", "VARCHAR", false),
        def22("def22", "def22", "VARCHAR", false),
        def23("def23", "def23", "VARCHAR", false),
        def24("def24", "def24", "VARCHAR", false),
        def25("def25", "def25", "VARCHAR", false),
        def26("def26", "def26", "VARCHAR", false),
        def27("def27", "def27", "VARCHAR", false),
        def28("def28", "def28", "VARCHAR", false),
        def29("def29", "def29", "VARCHAR", false),
        def3("def3", "def3", "VARCHAR", false),
        def30("def30", "def30", "VARCHAR", false),
        def31("def31", "def31", "VARCHAR", false),
        def32("def32", "def32", "VARCHAR", false),
        def33("def33", "def33", "VARCHAR", false),
        def34("def34", "def34", "VARCHAR", false),
        def35("def35", "def35", "VARCHAR", false),
        def36("def36", "def36", "VARCHAR", false),
        def37("def37", "def37", "VARCHAR", false),
        def38("def38", "def38", "VARCHAR", false),
        def39("def39", "def39", "VARCHAR", false),
        def4("def4", "def4", "VARCHAR", false),
        def40("def40", "def40", "VARCHAR", false),
        def41("def41", "def41", "VARCHAR", false),
        def42("def42", "def42", "VARCHAR", false),
        def43("def43", "def43", "VARCHAR", false),
        def44("def44", "def44", "VARCHAR", false),
        def45("def45", "def45", "VARCHAR", false),
        def46("def46", "def46", "VARCHAR", false),
        def47("def47", "def47", "VARCHAR", false),
        def48("def48", "def48", "VARCHAR", false),
        def49("def49", "def49", "VARCHAR", false),
        def5("def5", "def5", "VARCHAR", false),
        def50("def50", "def50", "VARCHAR", false),
        def6("def6", "def6", "VARCHAR", false),
        def7("def7", "def7", "VARCHAR", false),
        def8("def8", "def8", "VARCHAR", false),
        def9("def9", "def9", "VARCHAR", false),
        deletestate("deletestate", "deletestate", "INTEGER", false),
        delperson("delperson", "delperson", "VARCHAR", false),
        deltime("deltime", "deltime", "CHAR", false),
        discountflag("discountflag", "discountflag", "CHAR", false),
        dr("dr", "dr", "INTEGER", false),
        electronicsale("electronicsale", "electronicsale", "CHAR", false),
        ematerialspec("ematerialspec", "ematerialspec", "VARCHAR", false),
        enablestate("enablestate", "enablestate", "INTEGER", false),
        ename("ename", "ename", "VARCHAR", false),
        featureclass("featureclass", "featureclass", "VARCHAR", false),
        fee("fee", "fee", "CHAR", false),
        goodsprtname("goodsprtname", "goodsprtname", "VARCHAR", false),
        graphid("graphid", "graphid", "VARCHAR", false),
        intolerance("intolerance", "intolerance", "DOUBLE", false),
        iselectrans("iselectrans", "iselectrans", "CHAR", false),
        isfeature("isfeature", "isfeature", "CHAR", false),
        ishproitems("ishproitems", "ishproitems", "CHAR", false),
        latest("latest", "latest", "CHAR", false),
        matchmode("matchmode", "matchmode", "INTEGER", false),
        materialbarcode("materialbarcode", "materialbarcode", "VARCHAR", false),
        materialmgt("materialmgt", "materialmgt", "INTEGER", false),
        materialmnecode("materialmnecode", "materialmnecode", "VARCHAR", false),
        materialshortname("materialshortname", "materialshortname", "VARCHAR", false),
        materialspec("materialspec", "materialspec", "VARCHAR", false),
        materialtype("materialtype", "materialtype", "VARCHAR", false),
        memo("memo", "memo", "VARCHAR", false),
        modifiedtime("modifiedtime", "modifiedtime", "CHAR", false),
        modifier("modifier", "modifier", "VARCHAR", false),
        name("name", "name", "VARCHAR", true),
        name2("name2", "name2", "VARCHAR", false),
        name3("name3", "name3", "VARCHAR", false),
        name4("name4", "name4", "VARCHAR", false),
        name5("name5", "name5", "VARCHAR", false),
        name6("name6", "name6", "VARCHAR", false),
        outcloselowerlimit("outcloselowerlimit", "outcloselowerlimit", "DOUBLE", false),
        outtolerance("outtolerance", "outtolerance", "DOUBLE", false),
        pkBrand("pk_brand", "pkBrand", "VARCHAR", false),
        pkGoodscode("pk_goodscode", "pkGoodscode", "VARCHAR", false),
        pkGroup("pk_group", "pkGroup", "CHAR", false),
        pkMarasstframe("pk_marasstframe", "pkMarasstframe", "VARCHAR", false),
        pkMarbasclass("pk_marbasclass", "pkMarbasclass", "CHAR", false),
        pkMaterialPf("pk_material_pf", "pkMaterialPf", "VARCHAR", false),
        pkMattaxes("pk_mattaxes", "pkMattaxes", "VARCHAR", false),
        pkMeasdoc("pk_measdoc", "pkMeasdoc", "CHAR", false),
        pkOrg("pk_org", "pkOrg", "CHAR", false),
        pkProdline("pk_prodline", "pkProdline", "VARCHAR", false),
        pkSource("pk_source", "pkSource", "VARCHAR", false),
        pkTaxitems("pk_taxitems", "pkTaxitems", "VARCHAR", false),
        prodarea("prodarea", "prodarea", "VARCHAR", false),
        productfamily("productfamily", "productfamily", "CHAR", false),
        prolifeperiod("prolifeperiod", "prolifeperiod", "INTEGER", false),
        retail("retail", "retail", "CHAR", false),
        setpartsflag("setpartsflag", "setpartsflag", "CHAR", false),
        storeunitnum("storeunitnum", "storeunitnum", "DOUBLE", false),
        ts("ts", "ts", "TIMESTAMP", false),
        unitheight("unitheight", "unitheight", "VARCHAR", false),
        unitlength("unitlength", "unitlength", "VARCHAR", false),
        unitvolume("unitvolume", "unitvolume", "DOUBLE", false),
        unitweight("unitweight", "unitweight", "DOUBLE", false),
        unitwidth("unitwidth", "unitwidth", "VARCHAR", false),
        version("version", "version", "INTEGER", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_material
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }
    }
}